//
//  QRDecodeResultViewController.m
//  Project6
//
//  Created by ToanDK on 11/20/12.
//  Copyright (c) 2012 DungNP. All rights reserved.
//

#import "QRDecodeResultViewController.h"
#import "NewReportViewController.h"

@implementation QRDecodeResultViewController
@synthesize QRDecodeResult;
@synthesize QRImage;

-(IBAction)btnContinue_Click:(id)sender
{
    NSLog(@"btnContinue_Click");
    NewReportViewController * newReport = [[NewReportViewController alloc] initWithNibName:@"NewReportViewController" bundle:nil];
    [self.navigationController pushViewController:newReport animated:YES];
    
}

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    self.title =@"QRScan";
    QRImageView.image = QRImage;
    txtQRDecodeResultView.text = QRDecodeResult;
    txtQRDecodeResultView.editable =false;
    
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
